From: Carlos Soriano Date: Mon, 17 Feb 2014 19:44:27 +0000 (+0100) Subject: telepathyClient: Use ratio char for timestamps X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2751 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fa4c481aed67532254d6779c7222e0016e2743e3;p=gnome-shell.git telepathyClient: Use ratio char for timestamps --- diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index a78fbafd5..831e4da0c 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -944,28 +944,28 @@ const ChatNotification = new Lang.Class({ // Show only the hour if date is on today if(daysAgo < 1){ - format = _("%H:%M"); + format = _("%H\u2236%M"); } // Show the word "Yesterday" and time if date is on yesterday else if(daysAgo <2){ /* Translators: this is the word "Yesterday" followed by a time string. i.e. "Yesterday, 14:30"*/ // xgettext:no-c-format - format = _("Yesterday, %H:%M"); + format = _("Yesterday, %H\u2236%M"); } // Show a week day and time if date is in the last week else if (daysAgo < 7) { /* Translators: this is the week day name followed by a time string. i.e. "Monday, 14:30*/ // xgettext:no-c-format - format = _("%A, %H:%M"); + format = _("%A, %H\u2236%M"); } else if (date.getYear() == now.getYear()) { /* Translators: this is the month name and day number followed by a time string. i.e. "May 25, 14:30"*/ // xgettext:no-c-format - format = _("%B %d, %H:%M"); + format = _("%B %d, %H\u2236%M"); } else { /* Translators: this is the month name, day number, year number followed by a time string. i.e. "May 25 2012, 14:30"*/ // xgettext:no-c-format - format = _("%B %d %Y, %H:%M"); + format = _("%B %d %Y, %H\u2236%M"); } return date.toLocaleFormat(format);